package com.smartstate.dataManagement.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartstate.dataManagement.dto.PageDTO;
import com.smartstate.dataManagement.entity.Attribute;
import com.smartstate.dataManagement.mapper.AttributeMapper;
import com.smartstate.dataManagement.service.AttributeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AttributeImpl extends ServiceImpl<AttributeMapper, Attribute> implements AttributeService {


    @Autowired
    private AttributeMapper attributeMapper;

    @Override
    public Page<Attribute> queryAllPageByDTO(PageDTO pageDTO) {
        return null;
    }


    @Override
    public List<Attribute> findAll() {
        return attributeMapper.findAll();
    }
}